package com.wise.entities.content;

import com.wise.framework.daoannotations.Column;
import com.wise.framework.daoannotations.Table;
import com.wise.framework.entitiesbasic.IdTimeEntity;
import lombok.Getter;
import lombok.Setter;

import java.sql.Timestamp;

@Getter
@Setter
@Table("industry_information")
public class IndustryInformation extends IdTimeEntity {

    /**
     * column_id - 对应栏目id
     */
    @Column("column_id")
    private String columnId;
    public static final String _columnId = "column_id";

    /**
     * 图片url
     */
    @Column("url")
    private String url;

    /**
     * title - 文章标题
     */
    @Column("title")
    private String title;
    public static final String _title = "title";

    /**
     * 别名
     */
    @Column("alias")
    private String alias;
    public static final String ALIAS = "alias";

    /**
     * content - 文章内容
     */
    @Column("content")
    private String content;

    /**
     * state - 发布状态
     * 0：不发布   1：发布
     */
    @Column("state")
    private Integer state;
    public static final String _state = "state";

    /**
     * reason - 拒绝理由
     */
    @Column("reason")
    private String reason;

    /**
     * 多语言区分
     */
    @Column("lang")
    private String lang;
    public static final String _lang = "lang";

    /**
     * 文章作者
     */
    @Column("author")
    private String author;

    /**
     * 文章简介
     */
    @Column("intro")
    private String intro;

    /**
     * 排序
     */
    @Column("sort")
    private Integer sort;
    public static final String _sort = "sort";

    /**
     * 发布时间
     */
    @Column("publish_time")
    private Timestamp publishTime;
    public static final String _publishTime = "publish_time";

    /**
     * seoTitle
     */
    @Column("seo_title")
    private String seoTitle;
    public static final String SEO_TITLE = "seo_title";

    /**
     * 关键词描述
     */
    @Column("seo_describe")
    private String seoDescribe;
    public static final String SEO_DESCRIBE = "seo_describe";

    /**
     * 草稿
     */
    @Column("draft")
    private String draft;
    public static final String DRAFT = "draft";

    private String columnName;

    @Column("page_title")
    private String pageTitle;
    public static final String PAGE_TITLE = "page_title";
}
